package org.example.common;

import lombok.Data;

@Data
public class JsonCode {
    // 给前端的响应为一个json

    private int code;
    private String msg;

    public static JsonCode getJson(){
        JsonCode j = new JsonCode();
        j.setCode(200);
        j.setMsg("success");
        return j;
    }

}
